home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
amok_lha
/
amok58.lha
/
NPrint
/
txt
/
StringConv.def
< prev
next >
Wrap
Text File
|
1993-08-15
|
1KB
|
40 lines
(**********************************************************************
:Program. StringConv.def
:Contents. string formatting procedures
:Author. Nicolas Benezan [bne]
:Address. Postwiesenstr. 2, D7000 Stuttgart 60
:Phone. 711/333679
:Copyright. Public Domain
:Language. Modula-2
:Translator. M2Amiga A+L V3.2d
:History. V1.0a [bne] 11.May.1989
**********************************************************************)
DEFINITION MODULE StringConv;
PROCEDURE ConversionOk():BOOLEAN;
(*:Result. FALSE if there's been an error since the last call
:Result. to ConversionOk().
*)
PROCEDURE IntToStr( Int:LONGINT;
VAR String:ARRAY OF CHAR);
(*:Semantic. Converts an INTEGER, CARDINAL or LONGINT variable into
:Semantic. a String (decimal).
*)
PROCEDURE IntToHex( Int:LONGINT;
VAR String:ARRAY OF CHAR);
(*:Semantic. Converts an INTEGER, CARDINAL or LONGINT variable into
:Semantic. a String (hexadecimal).
*)
PROCEDURE StrToInt(String:ARRAY OF CHAR):LONGINT;
(*:Semantic. Converts a String into a LONGINT value
*)
END StringConv.